package cn.aitrox.ry.service.anno.dao;

import cn.aitrox.ry.common.dao.BaseDao;
import cn.aitrox.ry.service.anno.entity.AnnoLesionResultEntity;
import cn.aitrox.ry.service.anno.po.anno.lesion.result.ArIdAlrCountPo;

import java.util.List;

public interface AnnoLesionResultDao extends BaseDao<AnnoLesionResultEntity> {

    List<ArIdAlrCountPo> findCountGroupByArId(List<Integer> arIds);

    List<AnnoLesionResultEntity> findByArId(Integer arId);

    List<AnnoLesionResultEntity> findByArIds(List<Integer> arIdList);

    void clearMaskFilePath(List<Integer> ids);

    void updateMaskPath(Integer id, String maskFilePath);

    void batchSave(List<AnnoLesionResultEntity> alrs2Save);

    List<Integer> findIdByArIdGroupId(Integer arId, Integer groupId);
}
